﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014B3 RID: 5299
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateGunPlayDataCsReq : IMessage<UpdateGunPlayDataCsReq>, IMessage, IEquatable<UpdateGunPlayDataCsReq>, IDeepCloneable<UpdateGunPlayDataCsReq>, IBufferMessage
	{
		// Token: 0x170042B0 RID: 17072
		// (get) Token: 0x0600ECE5 RID: 60645 RVA: 0x00278BD3 File Offset: 0x00276DD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateGunPlayDataCsReq> Parser
		{
			get
			{
				return UpdateGunPlayDataCsReq._parser;
			}
		}

		// Token: 0x170042B1 RID: 17073
		// (get) Token: 0x0600ECE6 RID: 60646 RVA: 0x00278BDA File Offset: 0x00276DDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateGunPlayDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042B2 RID: 17074
		// (get) Token: 0x0600ECE7 RID: 60647 RVA: 0x00278BEC File Offset: 0x00276DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateGunPlayDataCsReq.Descriptor;
			}
		}

		// Token: 0x0600ECE8 RID: 60648 RVA: 0x00278BF3 File Offset: 0x00276DF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataCsReq()
		{
		}

		// Token: 0x0600ECE9 RID: 60649 RVA: 0x00278BFC File Offset: 0x00276DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataCsReq(UpdateGunPlayDataCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this.gCHCEGDKCMB_ = other.gCHCEGDKCMB_;
			this.uuid_ = other.uuid_;
			this.bACCBPEJEPC_ = ((other.bACCBPEJEPC_ != null) ? other.bACCBPEJEPC_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ECEA RID: 60650 RVA: 0x00278C60 File Offset: 0x00276E60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGunPlayDataCsReq Clone()
		{
			return new UpdateGunPlayDataCsReq(this);
		}

		// Token: 0x170042B3 RID: 17075
		// (get) Token: 0x0600ECEB RID: 60651 RVA: 0x00278C68 File Offset: 0x00276E68
		// (set) Token: 0x0600ECEC RID: 60652 RVA: 0x00278C70 File Offset: 0x00276E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170042B4 RID: 17076
		// (get) Token: 0x0600ECED RID: 60653 RVA: 0x00278C79 File Offset: 0x00276E79
		// (set) Token: 0x0600ECEE RID: 60654 RVA: 0x00278C81 File Offset: 0x00276E81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GCHCEGDKCMB
		{
			get
			{
				return this.gCHCEGDKCMB_;
			}
			set
			{
				this.gCHCEGDKCMB_ = value;
			}
		}

		// Token: 0x170042B5 RID: 17077
		// (get) Token: 0x0600ECEF RID: 60655 RVA: 0x00278C8A File Offset: 0x00276E8A
		// (set) Token: 0x0600ECF0 RID: 60656 RVA: 0x00278C92 File Offset: 0x00276E92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong Uuid
		{
			get
			{
				return this.uuid_;
			}
			set
			{
				this.uuid_ = value;
			}
		}

		// Token: 0x170042B6 RID: 17078
		// (get) Token: 0x0600ECF1 RID: 60657 RVA: 0x00278C9B File Offset: 0x00276E9B
		// (set) Token: 0x0600ECF2 RID: 60658 RVA: 0x00278CA3 File Offset: 0x00276EA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LIPOPPCIKOO BACCBPEJEPC
		{
			get
			{
				return this.bACCBPEJEPC_;
			}
			set
			{
				this.bACCBPEJEPC_ = value;
			}
		}

		// Token: 0x0600ECF3 RID: 60659 RVA: 0x00278CAC File Offset: 0x00276EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateGunPlayDataCsReq);
		}

		// Token: 0x0600ECF4 RID: 60660 RVA: 0x00278CBC File Offset: 0x00276EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateGunPlayDataCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.GCHCEGDKCMB == other.GCHCEGDKCMB && this.Uuid == other.Uuid && object.Equals(this.BACCBPEJEPC, other.BACCBPEJEPC) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ECF5 RID: 60661 RVA: 0x00278D2C File Offset: 0x00276F2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.GCHCEGDKCMB != 0U)
			{
				num ^= this.GCHCEGDKCMB.GetHashCode();
			}
			if (this.Uuid != 0UL)
			{
				num ^= this.Uuid.GetHashCode();
			}
			if (this.bACCBPEJEPC_ != null)
			{
				num ^= this.BACCBPEJEPC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ECF6 RID: 60662 RVA: 0x00278DB3 File Offset: 0x00276FB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ECF7 RID: 60663 RVA: 0x00278DBB File Offset: 0x00276FBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ECF8 RID: 60664 RVA: 0x00278DC4 File Offset: 0x00276FC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GroupId);
			}
			if (this.Uuid != 0UL)
			{
				output.WriteRawTag(32);
				output.WriteUInt64(this.Uuid);
			}
			if (this.bACCBPEJEPC_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.BACCBPEJEPC);
			}
			if (this.GCHCEGDKCMB != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GCHCEGDKCMB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ECF9 RID: 60665 RVA: 0x00278E58 File Offset: 0x00277058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.GCHCEGDKCMB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GCHCEGDKCMB);
			}
			if (this.Uuid != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.Uuid);
			}
			if (this.bACCBPEJEPC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BACCBPEJEPC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ECFA RID: 60666 RVA: 0x00278EE0 File Offset: 0x002770E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateGunPlayDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.GCHCEGDKCMB != 0U)
			{
				this.GCHCEGDKCMB = other.GCHCEGDKCMB;
			}
			if (other.Uuid != 0UL)
			{
				this.Uuid = other.Uuid;
			}
			if (other.bACCBPEJEPC_ != null)
			{
				if (this.bACCBPEJEPC_ == null)
				{
					this.BACCBPEJEPC = new LIPOPPCIKOO();
				}
				this.BACCBPEJEPC.MergeFrom(other.BACCBPEJEPC);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ECFB RID: 60667 RVA: 0x00278F70 File Offset: 0x00277170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ECFC RID: 60668 RVA: 0x00278F7C File Offset: 0x0027717C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 24U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 32U)
					{
						this.Uuid = input.ReadUInt64();
						continue;
					}
				}
				else
				{
					if (num == 58U)
					{
						if (this.bACCBPEJEPC_ == null)
						{
							this.BACCBPEJEPC = new LIPOPPCIKOO();
						}
						input.ReadMessage(this.BACCBPEJEPC);
						continue;
					}
					if (num == 72U)
					{
						this.GCHCEGDKCMB = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005DB3 RID: 23987
		private static readonly MessageParser<UpdateGunPlayDataCsReq> _parser = new MessageParser<UpdateGunPlayDataCsReq>(() => new UpdateGunPlayDataCsReq());

		// Token: 0x04005DB4 RID: 23988
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DB5 RID: 23989
		public const int GroupIdFieldNumber = 3;

		// Token: 0x04005DB6 RID: 23990
		private uint groupId_;

		// Token: 0x04005DB7 RID: 23991
		public const int GCHCEGDKCMBFieldNumber = 9;

		// Token: 0x04005DB8 RID: 23992
		private uint gCHCEGDKCMB_;

		// Token: 0x04005DB9 RID: 23993
		public const int UuidFieldNumber = 4;

		// Token: 0x04005DBA RID: 23994
		private ulong uuid_;

		// Token: 0x04005DBB RID: 23995
		public const int BACCBPEJEPCFieldNumber = 7;

		// Token: 0x04005DBC RID: 23996
		private LIPOPPCIKOO bACCBPEJEPC_;
	}
}
